<?php 
namespace app\validate;
use think\validate;

class AdminMenu extends validate {


	protected $rule = [
		'title'=>['require'],
		'path'=>['require'],
	];

	protected $message = [
		'title.require'=>'节点名称不能为空',
		'path.require'=>'节点标识不能为空',
	];

	protected $scene  = [
		'add'=>['title','path'],
		'update'=>['title','path'],
	];



}

